package com.lgCore.netty.message;

import lombok.Data;

/**
 * 接口返回数据
 */
@Data
public class ReplyServerBody extends ReplyBody {

    /**
     *
     */
    private static final long serialVersionUID = 929310828751146503L;
    private Object data;
    //调用是否成功 1成功 0不成功 默认0
    private int isSucess = 0;
    private String exceptionMsg;

    public ReplyServerBody(Object data) {
        this.data = data;
    }

    public ReplyServerBody(Object data, int isSucess) {
        this.data = data;
        this.isSucess = isSucess;
    }

}
